import { useParams } from 'react-router';
import TeamPage from '../TeamPage/TeamPage';
export default function Team() {
  const params = useParams();
  return <TeamPage teamId={params.teamId} />;
}
